@(htmlContent: String)(classNameList: String)(targetUrl: String)(parentUrl: String)(confirmSize: Int)
@Html(htmlContent)
<script type="text/javascript" src="/kunlunAssets/assets/frameworks/jquery/jquery-1.12.4-ext.js"></script>
<script type="text/javascript" src="/kunlunAssets/assets/frameworks/layer-v3.1.1/layer/layer.js"></script>
<script type="text/html" id="header-info">
<div style="background-color: #66ccff;">
    <div style="padding: 10px; text-align: center;">需定位的链接：<a href="@targetUrl" target="_blank">@targetUrl</a></div>
    <div style="padding: 0 10px 10px 10px; text-align: center;">链接所在页面：<a href="@parentUrl" target="_blank">@parentUrl</a></div>
    <div style="padding: 0 10px 10px 10px; text-align: center;">
        匹配的链接个数：@confirmSize &nbsp;
        <a target="_blank" href="@archer.back.controllers.routes.UrlsController.reAnchor(parentUrl, targetUrl)">重新检查</a>
    </div>
</div>
</script>
<style type="text/css">
    .miao-miao-jiang-border-import {
        box-sizing: border-box !important;
        border: 6px solid #ff0000 !important;
    }
</style>
<script type="text/javascript">
    var classNameList = @Html(classNameList);
    /*var doms = jQuery.map(pathListList, function(item, index) {
        var fetchPaths = function(dom, currentIndex) {
            if (currentIndex < item.length) {
                var domIndex = item[currentIndex];
                return fetchPaths(dom.children(":eq(" + domIndex + ")"), currentIndex + 1);
            } else {
                return dom;
            }
        };
        return fetchPaths(jQuery(document), 0);
    });*/
    jQuery(function() {
        jQuery("body").prepend(jQuery("#header-info").html());
        jQuery.map(classNameList, function(item, index) {
            var urlFix = function() {
                var currentDom = jQuery("." + item);
                currentDom.addClass("miao-miao-jiang-border-import");
                layer.tips("<table><tr><td valign='middle' style='padding-right: 12px;'>链接在这里哦</td><td valign='middle'><img style='float: left;' src='/kunlunAssets/assets/images/index/point_to.jpg' width='70' /></td></tr></table>", currentDom[0], {
                    tips: [4, "#ee0000"],
                    shadeClose: false,
                    time: 0,
                    tipsMore: true,
                    success: function(layero, index) {
                        setTimeout(function() {
                            currentDom.removeClass("miao-miao-jiang-border-import");
                            layer.close(index);
                            urlFix();
                        }, 2000);
                    }
                });
            };
            urlFix();
        });
    });
</script>